package leetcode.code673;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution673 implements IDebug {

	public abstract int findNumberOfLIS(int[] nums);

	@Override
	public void debug1() {
		String str = "[1,3,5,4,7]";
		int e = 2;
		debug(str, e);
	}

	private void debug(String str, int e) {
		int[] nums = HelpDebug.str2array3(str);
		int r = this.findNumberOfLIS(nums);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[2,2,2,2,2]";
		int e = 5;
		debug(str, e);
	}

	@Override
	public void debug3() {
		String str = "[1,3,5,4,1,2,3,7]";
		int e = 4;
		debug(str, e);
	}

	@Override
	public void debug4() {
		String str = "[3,1,2]";
		int e = 1;
		debug(str, e);
	}

	public void debug5() {
		String str = "[1,2,4,3,5,4,7,2]";
		int e = 3;
		debug(str, e);
	}

	public void debug6() {
		String str = "[-100,-99,-98,-97,-96,-96]";
		int e = 2;
		debug(str, e);
	}
	public void debug7() {
		String str = "[1,2,3,1,2,3,4]";
		int e = 2;
		debug(str, e);
	}

}
